package me.yobol.greentable.bean;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Yobol
 *
 */
public class DishesBean implements Serializable {

	private static final long serialVersionUID = -3156760610306169510L;

	private int dishesId;
	private String dishesName;
	private int dishesOwner;
	private Timestamp dishesTime;
	private String dishesDescription;
	private String dishesContent;
	private int dishesScansCtr;
	private int dishesFavouriteCtr;
	private int dishesCommentCtr;
	private int menuId;

	public DishesBean(){
		
	}
	
	/**
	 * @param dishesName
	 * @param dishesOwner
	 * @param dishesTime
	 * @param dishesDescription
	 * @param dishesContent
	 * @param dishesScansCtr
	 * @param dishesFavouriteCtr
	 * @param dishesCommentCtr
	 * @param menuId
	 */
	public DishesBean(String dishesName, int dishesOwner, Timestamp dishesTime,
			String dishesDescription, String dishesContent, int dishesScansCtr,
			int dishesFavouriteCtr, int dishesCommentCtr, int menuId) {
		this.dishesName = dishesName;
		this.dishesOwner = dishesOwner;
		this.dishesTime = dishesTime;
		this.dishesDescription = dishesDescription;
		this.dishesContent = dishesContent;
		this.dishesScansCtr = dishesScansCtr;
		this.dishesFavouriteCtr = dishesFavouriteCtr;
		this.dishesCommentCtr = dishesCommentCtr;
		this.menuId = menuId;
	}

	/**
	 * @param dishesId
	 * @param dishesName
	 * @param dishesOwner
	 * @param dishesTime
	 * @param dishesDescription
	 * @param dishesContent
	 * @param dishesScansCtr
	 * @param dishesFavouriteCtr
	 * @param dishesCommentCtr
	 * @param menuId
	 */
	public DishesBean(int dishesId, String dishesName, int dishesOwner,
			Timestamp dishesTime, String dishesDescription,
			String dishesContent, int dishesScansCtr, int dishesFavouriteCtr,
			int dishesCommentCtr, int menuId) {
		this(dishesName,dishesOwner,dishesTime, dishesDescription,dishesContent,dishesScansCtr,dishesFavouriteCtr,dishesCommentCtr,menuId);
		this.dishesId = dishesId;
	}

	public int getDishesId() {
		return dishesId;
	}
	
	public void setDishesId(int dishesId) {
		this.dishesId = dishesId;
	}

	public String getDishesName() {
		return dishesName;
	}

	public void setDishesName(String dishesName) {
		this.dishesName = dishesName;
	}

	public int getDishesOwner() {
		return dishesOwner;
	}

	public void setDishesOwner(int dishesOwner) {
		this.dishesOwner = dishesOwner;
	}

	public Timestamp getDishesTime() {
		return dishesTime;
	}

	public void setDishesTime(Timestamp dishesTime) {
		this.dishesTime = dishesTime;
	}

	public String getDishesDescription() {
		return dishesDescription;
	}

	public void setDishesDescription(String dishesDescription) {
		this.dishesDescription = dishesDescription;
	}

	public String getDishesContent() {
		return dishesContent;
	}

	public void setDishesContent(String dishesContent) {
		this.dishesContent = dishesContent;
	}

	public int getDishesScansCtr() {
		return dishesScansCtr;
	}

	public void setDishesScansCtr(int dishesScansCtr) {
		this.dishesScansCtr = dishesScansCtr;
	}

	public int getDishesFavouriteCtr() {
		return dishesFavouriteCtr;
	}

	public void setDishesFavouriteCtr(int dishesFavouriteCtr) {
		this.dishesFavouriteCtr = dishesFavouriteCtr;
	}

	public int getDishesCommentCtr() {
		return dishesCommentCtr;
	}

	public void setDishesCommentCtr(int dishesCommentCtr) {
		this.dishesCommentCtr = dishesCommentCtr;
	}

	public int getMenuId() {
		return menuId;
	}
	
	public void setMenuId(int menuId) {
		this.menuId = menuId;
	}
	
	
	
}
